import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'index',
    component: () => import('../views/screen-1')
  },
  {
    path: '/screen-1',
    name: 'shishizhihui',
    component: () => import('../views/template')
  },
  {
    path: '/test',
    component: () => import('../views/test')
  }
]
const router = new VueRouter({
  mode: 'history',
  routes
})

export default router
